const baseUrl = 'https://libc-ddanmo-shop.bujufangshi.com' //主接口地址
// const baseUrl = '/api' //主接口地址

const Passport = baseUrl + '/Passport/' //登录注册
const Verify = baseUrl + '/Verify/' //验证码
const Center = baseUrl + '/Center/' //商家中心
const OrderInfo = baseUrl + '/OrderInfo/' //订单管理
const System = baseUrl + '/System/' //系统相关

//登录
export const PassportInfo = {
	login: Passport + 'login', //登录
	findPass: Passport + 'findPass', //找回密码
}

//验证码
export const VerifyInfo = {
	sendCode: Verify + 'sendCode', // 获取验证码
	checkCode: Verify + 'checkCode', // 检查验证码
}

//商家中心
export const CenterInfo = {
	getInfo: Center + 'getInfo', //商家信息
	setOn: Center + 'setOn', //设置营业
	setBussiness: Center + 'setBussiness', //设置营业时间
	myWithdrawAccount: Center + 'myWithdrawAccount', //提现账户
	bindWithdrawAccount: Center + 'bindWithdrawAccount', //绑定提现账户
	unbindWithdrawAccount: Center + 'unbindWithdrawAccount', //解绑提现账户
	balanceRecords: Center + 'balanceRecords', //余额明细
	withdraw: Center + 'withdraw', //提现
	withdrawRecords: Center + 'withdrawRecords', //提现记录
	myComments: Center + 'myComments', //我的评价
	modifyAccount: Center + 'modifyAccount', //修改手机号
	setPass: Center + 'setPass', //修改密码
	shopServiceEdit: Center + 'shopServiceEdit', //服务编辑
	// shopServiceEdit: baseUrl + '/Shop/shopServiceEdit', //服务详情
	serviceDetail: baseUrl + '/Shop/serviceDetail', //服务详情
	serviceList: baseUrl + '/Shop/serviceList', //服务列表
	getServiceCategory: baseUrl + '/Shop/getServiceCategory', //服务编辑
}

//订单管理
export const OrderInfoInfo = {	
	orderList: OrderInfo + 'orderList', //订单列表
	orderDetail: OrderInfo + 'orderDetail', //订单详情
	receipt: OrderInfo + 'receipt', //接单
	usePage: OrderInfo + 'usePage', //核销页
	doUse: OrderInfo + 'doUse', //核销
}

//系统相关
export const SystemInfo = {
	upload: System + 'upload', //上传文件
	userAgreement: System + 'userAgreement', //用户协议
	PrivacyAgreement: System + 'PrivacyAgreement', //隐私协议
}

export default{
	PassportInfo,
	VerifyInfo,
	CenterInfo,
	OrderInfoInfo,
	SystemInfo,
}
// module.exports = {
	
// }